package net;

import org.jboss.netty.buffer.ChannelBuffer;

import data.ISerializable;

public interface IDataSender {
	ChannelBuffer prepareMsg(String name);
	ChannelBuffer prepareMsg(String name, int size);
	void sendMsg(boolean close);
	
	void appendInt(int i);
	void appendObject(ISerializable obj);
	void appendString(String str);
}
